<?php
    defined('BASEPATH') or die('No direct script access allow');
    class MY_Model extends CI_Model
    {
        public function __construct()
        {
            parent::__construct();
            $this->load->database();
        }
    }    
    
?>